<!DOCTYPE html>
<html>
<body>

<svg version="0,0,100000,100000">
  <rect id="A" width="10" height="10" style="fill:red;stroke-width:1;stroke:green" />
    <animate
	       xlink:href="#A"
           attributeName="x" 
           to="1000"
           dur="15s"
           begin="click"/>
	<animateTransform
                    xlink:href="#A"
                    attributeName="transform"
                    begin="click"
                    dur="15s"
                    type="scale"
                    from="1" to="100"
                     />
</svg>
 
</body>
</html>